import request from '@/utils/request'

export default {
  //获取验证码
  getCheckCode(to){
    return request({
      url: `ucenter/ucenter-member/getCheckCode/${to}`,
      method: 'get'
    })
  },
  //注册
  register(ucenter){
    return request({
      url: `ucenter/ucenter-member/register`,
      method: 'post',
      data: ucenter
    })
  }
}
